<?php if (!defined('THINK_PATH')) exit();?><tr>
    <th>序号</th>
    <th>单页名称</th>
    <th>单页图片</th>
    <th>单页内容</th>
    <th>操作</th>
</tr>
<?php if(is_array($p)): foreach($p as $key=>$v): ?><tr>
    <td><?php echo ($a++); ?></td>
    <td class="page_name">
      <input type="text" value="<?php echo ($v["page_name"]); ?>" readonly data_id="<?php echo ($v["page_id"]); ?>">
    </td>
    <td><img src="/furniture/Upload/<?php echo ($v["page_img"]); ?>" alt=""></td>
    <td><?php echo (str_cut($v["page_content"],0,20)); ?></td>
    <td>
        <a href="<?php echo U('Admin/page/page_edit/aid/'.$v['page_id']);?>" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>                                        
        <a href="javascript:void(0)" class="btn btn-white btn-sm del" a_id="<?php echo ($v["page_id"]); ?>"><i class="fa fa-trash"></i> 删除 </a>
    </td>
</tr><?php endforeach; endif; ?>
<tr>
<td colspan="5"><?php echo ($show); ?></td>
</tr>